1. HTML Foundation Code:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Business Website</title>
  <link rel="stylesheet" href="css/styles.css" />
</head>
<body>

</body>
</html>

2. CSS Base Reset Code for Browser consistency:

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
}

3. Create the Page Landmark Structure

<header> </header>

<main> </main>

<footer> </footer>

4. Build the Header and Navigation Bar

	<header>
        <nav>
            <div class="logo">Kmacims EAT</div>
            <ul class="nav-links">
                <li><a href="#">Home</a></li>
                <li><a href="#">Services</a></li>
                <li><a href="#">About</a></li>
                <li><a href="#">Contact</a></li>
            </ul>
        </nav>
    </header>

 5. Build the Hero Section within the <main> Tag

 		<section class="hero">
            <div class="hero-overlay">
                <h1>Build Fast, Modern Business Websites</h1>
                <p>Professional web solutions using clean, native web technologies.</p>
                <a href="#" class="cta-button">Get Started</a>
            </div>
        </section>

 6. Build the Services Section within the <main> after the Hero section

 		<section class="services">
            <h2>Our Services</h2>
            <div class="service-grid">
                <article>
                    <h3>Web Design</h3>
                    <p>Modern, responsive designs for your business.</p>
                </article>
                <article>
                    <h3>Development</h3>
                    <p>Fast and scalable websites built with clean code.</p>
                </article>
                <article>
                    <h3>Consulting</h3>
                    <p>Expert guidance to grow your online presence.</p>
                </article>
            </div>
        </section>

   7. Build the Why Choose Us Section within the <main> under the Services section

   		<section class="why-choose-us">
            <h2>Why Choose Us</h2>
            <div class="why-grid">

                <div class="why-image">
                    <img src="images/why-choose-us.jpg" alt="A professional web developer working on a modern website" />
                </div>

                <div class="why-reasons">
                    <article class="reason">
                        <div class="reason-icon">&#9733;</div>
                        <div class="reason-content">
                            <h3>Expert-Led Design</h3>
                            <p>Our team brings years of industry experience to every project, delivering polished and purposeful designs that reflect your brand identity.</p>
                        </div>
                    </article>

                    <article class="reason">
                        <div class="reason-icon">&#9881;</div>
                        <div class="reason-content">
                            <h3>Performance-First Development</h3>
                            <p>We build with clean, native technologies that load fast, rank well on search engines, and scale as your business grows.</p>
                        </div>
                    </article>

                    <article class="reason">
                        <div class="reason-icon">&#128100;</div>
                        <div class="reason-content">
                            <h3>Client-Centred Approach</h3>
                            <p>We listen before we build. Every decision is guided by your goals, your audience, and your long-term vision — not templates.</p>
                        </div>
                    </article>

                    <article class="reason">
                        <div class="reason-icon">&#128274;</div>
                        <div class="reason-content">
                            <h3>Secure & Reliable</h3>
                            <p>Security is baked into our development process from day one, so your website and your customers' data are always protected.</p>
                        </div>
                    </article>
                </div>

            </div>
        </section>

8. Build the Footer Section

	<footer>
        <p>&copy; 2026. Kmacims Web Solutions. All rights reserved.</p>
    </footer>

9. Create CSS Variables 

	:root {
	  --primary-color: #2563eb;
	  --text-color: #1a1a1a;
	  --bg-color: #ffffff;
	  --max-width: 1200px;
	  --spacing: 1rem;
	}

10. Style the Header and Navigation Section

	header {
	  background: var(--bg-color);
	  border-bottom: 1px solid #e5e7eb;
	}

	nav {
	  max-width: var(--max-width);
	  margin: auto;
	  padding: 1rem;
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	}

	.nav-links {
	  list-style: none;
	  display: flex;
	  gap: 1.5rem;
	}

	.nav-links a {
	  text-decoration: none;
	  color: var(--text-color);
	  font-weight: 500;
	}

11. Styling the Hero Section

	.hero {
	  background-image: url('../images/hero-bg.jpg');
	  background-size: cover;
	  background-position: center;
	  background-repeat: no-repeat;
	  text-align: center;
	  padding-block: 0;
	}

	.hero-overlay {
	  max-width: var(--max-width);
	  margin: auto;
	  padding: 6rem 1rem;
	  background: rgba(0, 0, 0, 0.55);
	}

	.hero h1 {
	  font-size: clamp(2rem, 5vw, 3rem);
	  margin-bottom: 1rem;
	  color: white;
	}

	.hero p {
	  margin-bottom: 2rem;
	  font-size: 1.1rem;
	  color: rgba(255, 255, 255, 0.88);
	}

	.cta-button {
	  display: inline-block;
	  padding: 0.75rem 1.5rem;
	  background: var(--primary-color);
	  color: white;
	  text-decoration: none;
	  border-radius: 6px;
	}

12. Style the Services Section

	.services {
	  background: #f9fafb;
	  padding: 4rem 1rem;
	}

	.services h2 {
	  text-align: center;
	  font-size: clamp(1.5rem, 3vw, 2rem);
	  margin-bottom: 2.5rem;
	}

	.service-grid {
	  max-width: var(--max-width);
	  margin: auto;
	  display: grid;
	  gap: 2rem;
	  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}

	.service-grid article {
	  background: white;
	  padding: 2rem;
	  border-radius: 8px;
	  text-align: center;
	}


13. Style the Why Choose Us Section

	.why-choose-us {
	  background: var(--bg-color);
	  padding: 4rem 1rem;
	}

	.why-choose-us h2 {
	  text-align: center;
	  font-size: clamp(1.5rem, 3vw, 2rem);
	  margin-bottom: 3rem;
	}

	.why-grid {
	  max-width: var(--max-width);
	  margin: auto;
	  display: grid;
	  gap: 3rem;
	  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
	  align-items: center;
	}

	.why-image img {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	  border-radius: 8px;
	  display: block;
	}

	.why-reasons {
	  display: flex;
	  flex-direction: column;
	  gap: 1.75rem;
	}

	.reason {
	  display: flex;
	  align-items: flex-start;
	  gap: 1rem;
	}

	.reason-icon {
	  font-size: 1.5rem;
	  color: var(--primary-color);
	  flex-shrink: 0;
	  margin-top: 0.1rem;
	}

	.reason-content h3 {
	  font-size: 1.1rem;
	  margin-bottom: 0.35rem;
	  color: var(--text-color);
	}

	.reason-content p {
	  font-size: 0.95rem;
	  color: #4b5563;
	  line-height: 1.6;
	}

14. Style the Footer Section

	footer {
	  text-align: center;
	  padding: 2rem 1rem;
	  background: #111827;
	  color: white;
	}	

15. Apply Animation and Transition Effects

A. Add Navigation Hover Effects

	.nav-links a {
	  position: relative;
	  transition: color 0.3s ease;
	}

	.nav-links a::after {
	  content: "";
	  position: absolute;
	  left: 0;
	  bottom: -4px;
	  width: 0;
	  height: 2px;
	  background: var(--primary-color);
	  transition: width 0.3s ease;
	}

	.nav-links a:hover::after {
	  width: 100%;
	}

B. Apply Interactivity to the Call to Action Button

	.cta-button {
	  transition: transform 0.2s ease, box-shadow 0.2s ease;
	}

	.cta-button:hover {
	  transform: translateY(-2px);
	  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
	}

C. Apply Effects on the Service Card and Why Choose Us Reason

	.service-grid article {
	  transition: transform 0.2s ease, box-shadow 0.2s ease;
	}

	.service-grid article:hover {
	  transform: translateY(-5px);
	  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	}

	.reason {
	  transition: transform 0.2s ease;
	}

	.reason:hover {
	  transform: translateX(5px);
	}

D. Add Smooth Scrolling Effect

	html {
	  scroll-behavior: smooth;
	}

E. Refine Visual Spacing in Sections

	section {
	  padding-block: 4rem;
	}

	